#include "Level.h"
#include "Dx11DemoBase.h"

Level::Level()
{
}


Level::~Level()
{
}

void Level::Updata()
{
	for (int i = 0; i < ActorList.size(); i++)
	{
		ActorList[i]->Update(0);
	}
}

void Level::RenderLevel()
{
	for (int i = 0; i < ActorList.size(); i++)
	{
		ActorList[i]->Render();
	}
}

void Level::AddActor(Dx11DemoBase* InActor, XMFLOAT3 Pos)
{
	InActor->SetPos(Pos);
	ActorList.push_back(InActor);
}
